import bomNav from '@/components/indexConent/bomNav' // index

import TEbimg from '../indexContent/TEBImg' //商城
import indecConent from '../indexContent/indexContent' //首页
import taskOCntent from '../indexContent/taskconent' //发布任务
import userConent from '../indexContent/userContent'  // 个人中心
import orderassisuser from '../indexContent/orderassisuser' //订单助手

// const TEbimg = resolve => require(['../indexContent/TEBImg'], resolve)
// const indecConent = resolve => require(['../indexContent/indexContent'], resolve)
// const taskOCntent = resolve => require(['../indexContent/taskconent'], resolve)
// const userConent = resolve => require(['../indexContent/userContent'], resolve)
// const orderassisuser = resolve => require(['../indexContent/orderassisuser'], resolve)
export default [{
  path: '/',
  name: 'bomNav',
  component: bomNav,
  redirect:'/bomNav', 
  //从定向 和面加上子组件的path
  children:[
    ...TEbimg,...indecConent ,...taskOCntent,...userConent,...orderassisuser //从定义的后面可以分开写
  ], 
}
]
